package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户车辆对象 car_car_info
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
public class CarCarInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆主键 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 车型 */
    @Excel(name = "车型")
    private String type;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Long deleted;

    /** 是否默认(1默认 0非默认) */
    @Excel(name = "是否默认(1默认 0非默认)")
    private Long default1;

    /** 车辆照片URL（存储车辆照片路径） */
    @Excel(name = "车辆照片URL", readConverterExp = "存=储车辆照片路径")
    private String avater;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }

    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

//    public void setDefault(Long default)
//    {
//        this.default = default;
//    }

//    public Long getDefault()
//    {
//        return default;
//    }

    public void setAvater(String avater) 
    {
        this.avater = avater;
    }

    public String getAvater() 
    {
        return avater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("type", getType())
            .append("carNum", getCarNum())
            .append("deleted", getDeleted())
//            .append("default", getDefault())
            .append("avater", getAvater())
                .append("default1", getDefault1())
            .toString();
    }

    public Long getDefault1() {
        return default1;
    }

    public void setDefault1(Long default1) {
        this.default1 = default1;
    }
}
